﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DesignLayOut_QLQTPM_Team7.DAO;

namespace QLQTPM_ThuDuc_Group7.DAO
{
    class TuKhoaDiaDiemDAO
    {
        public static bool XoaTuKhoaDiaDiem(int matendiadiem)
        {
            bool kq = true;
            DataProvider dp = new DataProvider();
            dp.connect();
            string sql = "delete from TuKhoaDiaDiem where MaTenDiaDiem=" + matendiadiem;
            kq = dp.executeNonQuery(sql);
            if (kq == false)
                return kq;
            return kq;
        }
    }
}
